//
//  SSDKEnum.h
//  OpenSDK
//
//  Created by wyht－ios－dev on 15/10/7.
//  Copyright © 2015年 WYHT. All rights reserved.
//

typedef NS_ENUM(NSUInteger, OpenSDK_InitAction)
{
    OpenSDK_INIT_SUCCESS = 1001,
    OpenSDK_INIT_FAIL = 1002
};

typedef NS_ENUM(NSUInteger, OpenSDK_UserAction)
{
    OpenSDK_LOGIN_SUCCESS = 1101,
    OpenSDK_LOGIN_CANCEL = 1102,
    OpenSDK_LOGIN_FAIL = 1103,
    OpenSDK_LOGOUT_SUCCESS = 1104,
    OpenSDK_LOGOUT_FAIL = 1105,
};

typedef NS_ENUM(NSUInteger, OpenSDK_PayAction)
{
    OpenSDK_PAY_SUCCESS = 2001,
    OpenSDK_PAY_FAIL = 2002,
    OpenSDK_PAY_CANCEL = 2003,
    OpenSDK_PAY_WAIT_CHECK = 2004,
};

typedef NS_ENUM(NSUInteger, OpenSDK_ErrorAction) {
    OpenSDK_USER_INFO_NULL = 10001,
    OpenSDK_SDK_PAY_FAIL = 10002,
    OpenSDK_LOCAL_CONFIG_ERROR = 10003,
    OpenSDK_GET_USERINFO_FAILED = 10004,
    OpenSDK_GET_USERINFO_FROMSERVER_INCOMPLETE = 10005,
    OpenSDK_SERVER_RESPONSE_FORMAT_ILLEGAL = 10006,
    OpenSDK_SDK_LOGIN_FAILED = 10007,
    OpenSDK_GET_ORDERID_ERROR = 10008,
    OpenSDK_SDK_LOGOUT_FAILED = 10009,
    OpenSDK_SDK_INIT_FAILED = 10010,
    OpenSDK_SDK_TOKEN_INVALID = 10011,
    OpenSDK_SSDKPAYINFO_INCOMPLETE = 10012,
    OpenSDK_ILLEGAL_SUPERSDK_UID = 10013,
    OpenSDK_GET_SDKCONFIG_FAILED = 10014,
    OpenSDK_NETWORK_TIME_OUT = 10015,
    
    //账户系统服务器返回的错误码
    OpenSDK_USER_ALREADY_EXIST=1003
};
